<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:U('Admin/NewsCarousel/index')}">轮播图列表</a></li>
			<li class="active"><a href="{:U('Admin/NewsCarousel/add')}">添加轮播图</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Admin/NewsCarousel/add_post')}">
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">标题：</label>
					<div class="span3">
						<input type="text" name="t">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">类型：</label>
					<div class="span3" style="padding-top:3px;">
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" checked name="bT" value="1" >
						  普通新闻
						</label>
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="bT" value="2" >
						  图片新闻
						</label>
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="bT" value="3" >
						  专题新闻
						</label>
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="bT" value="4" >
						  视频新闻
						</label>
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="bT" value="5" >
						  直播新闻
						</label>
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="bT" value="6" >
						  推广
						</label>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">图片：</label>
					<div style="padding-left: 130px;text-align: left;">
						<input type="hidden" name="iU" id="imageUrl" value="">
						<a href="javascript:void(0);" onclick="flashupload('thumb_images', '附件上传','imageUrl',thumb_images,'1,jpg|jpeg|gif|png|bmp,1,,,1','','','');return false;">
							<img src="/admin/themes/simplebootx/Public/assets/images/default-thumbnail.png" id="imageUrl_preview" width="135" style="cursor: hand">
						</a>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">新闻类别：</label>
					<div class="span7">
						<foreach name="newsClass" item="vo">
						<label class="span1 radio" style="width: 60px;">
						  <input type="radio" name="cI" value="{$vo.cId}" >
						  {$vo.cN}
						</label>
						</foreach>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">简介：</label>
					<div class="span7">
						<textarea name="sm" rows="3" style="width: 546px;"></textarea>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">url：</label>
					<div class="span7">
						<input type="text" name="lU">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">排序</label>
					<div class="span7">
						<input type="text" name="sI" value="0">
					</div>
				</div>
			<div class="form-actions" style="padding-left:260px;">
				<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/NewsCarousel/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="/public/js/content_addtop.js"></script>
	
</body>
</html>